﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StoragePeriod.Model.StorageForecast
{
    /// <summary>
	/// 品质估算记录日志
	/// </summary>
    [Serializable]
    public partial class E_QualityCalculateLog
    {
        public E_QualityCalculateLog()
        { }
        #region Model
        private int _id;
        private int? _rawid;
        private string _rawname;
        private int? _quotaid;
        private string _quotaname;
        private int? _calculatetypeid;
        private string _calculateresult;
        private DateTime? _addtime;
        private int? _normid;
        private string _electvalue;
        private int? _oareaid;
        private int? _teamid;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 原料ID
        /// </summary>
        public int? RawID
        {
            set { _rawid = value; }
            get { return _rawid; }
        }
        /// <summary>
        /// 原料名称
        /// </summary>
        public string RawName
        {
            set { _rawname = value; }
            get { return _rawname; }
        }
        /// <summary>
        /// 指标ID
        /// </summary>
        public int? QuotaID
        {
            set { _quotaid = value; }
            get { return _quotaid; }
        }
        /// <summary>
        /// 指标名称
        /// </summary>
        public string QuotaName
        {
            set { _quotaname = value; }
            get { return _quotaname; }
        }
        /// <summary>
        /// 估算类型ID（1：品质估算、2：贮存期预测、3：贮存条件选择）
        /// </summary>
        public int? CalculateTypeID
        {
            set { _calculatetypeid = value; }
            get { return _calculatetypeid; }
        }
        /// <summary>
        /// 计算结果
        /// </summary>
        public string CalculateResult
        {
            set { _calculateresult = value; }
            get { return _calculateresult; }
        }
        /// <summary>
        /// 计算时间
        /// </summary>
        public DateTime? AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        /// <summary>
        /// 极限值ID
        /// </summary>
        public int? NormID
        {
            set { _normid = value; }
            get { return _normid; }
        }
        /// <summary>
        /// 极限值
        /// </summary>
        public string ElectValue
        {
            set { _electvalue = value; }
            get { return _electvalue; }
        }
        /// <summary>
        /// 作业区ID
        /// </summary>
        public int? OAreaID
        {
            set { _oareaid = value; }
            get { return _oareaid; }
        }
        /// <summary>
        /// 班组ID
        /// </summary>
        public int? TeamID
        {
            set { _teamid = value; }
            get { return _teamid; }
        }
        #endregion Model

        #region 数据接口
        /// <summary>
        /// 分页 每页数据条数
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 当前页码 从1开始
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 查询条件
        /// </summary>
        public string SearchWhere { get; set; }
        #endregion
    }
}
